package org.csu.demopetstore.Persistence;

import org.apache.ibatis.annotations.Param;
import org.csu.demopetstore.entity.Category;
import org.csu.demopetstore.entity.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {

    List<Category> getCategoryList();

    Category getCategory(@Param("categoryId")String categoryId);

    List<Category> searchCategory(String keyword);
}
